import Vue from 'vue'
import Router from 'vue-router'
// import HelloWorld from '@/components/HelloWorld'

import   ChildA from '../components/child-a.vue';
import   ChildB from '../components/child-b.vue';
import   ChildC from '../components/child-c.vue';


Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'ChildA',
      component: ChildA
    },
    {
      path: '/b',
      name: 'ChildB',
      component: ChildB
    },
    {
      path: '/c',
      name: 'ChildC',
      component: ChildC
    }
  ]
})




